home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
PCW_C.ARJ
/
PCPCW.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-12-10
|
1KB
|
32 lines
@echo off
:***************************************************************
:* File Id. PCPCW.BAT *
:* Author. Stan Milam. *
:* Date Written. 15 Oct 90. *
:* *
:* (c) Copyright 1990 by Stan Milam. *
:* *
:* Used to compile with Power C. *
:* This batch file is invoked from another batch file that *
:* passes the memory model parameter to use to compile the *
:* PC Windows library. *
:* *
:***************************************************************
:*
if exist ..\pcpcw%1\model goto model
md ..\pcpcw%1
echo pcpcw%1 >..\pcpcw%1\model
:model
copy pc*.obj ..\pcpcw%1 >nul
cd..\pcpcw%1
pc /%1 /i..\pcw /o. /w /w-223 ..\pcw\pcpcw
if errorlevel 1 goto error
if exist ..\pcpcw%1.lib del ..\pcpcw%1.lib
merge ..\pcpcw%1.lib @..\pcw\pcpcw.rsp
echo
if errorlevel 0 goto end
:error
echo *** error building library ***
:end
cd ..\pcw